package com.appkubes.mall.restful.application.goods.taobao.entity.vo;

import com.appkubes.base.core.entity.vo.PageVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;

@Data
public class RealTimeListVO extends PageVO {
    @ApiModelProperty(value = "分类id")
    private Integer cid;

    @ApiModelProperty(value = "排序类型 month_sales月销 daily_sales日销 two_hours_sales时效 hot_push热推值")
    @Pattern(regexp = "(month_sales|daily_sales|two_hours_sales|hot_push)", message = "排序类型不正确")
    private String sortType;
}
